<template>
  <div id="evaluate" class="mt24">
    <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
      <!-- <el-tab-pane label="全部评价" name="allEvaluate">
        <p>全部评价</p>
        <All></All>
      </el-tab-pane>-->
      <el-tab-pane label="待评价" name="comment">
        <p>待评价</p>
        <Comment></Comment>
      </el-tab-pane>
      <el-tab-pane label="已评价" name="reviewed">
        <p>已评价</p>
        <Reviewed></Reviewed>
      </el-tab-pane>
      <el-tab-pane label="被评价" name="evaluated">
        <p>被评价</p>
        <Evaluated></Evaluated>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import All from "../personal-center/evaluate/allEvaluate"; //全部评价
import Comment from "../personal-center/evaluate/comment"; //待评价
import Reviewed from "../personal-center/evaluate/reviewed"; //已评价
import Evaluated from "../personal-center/evaluate/evaluated"; //被评价

export default {
  data() {
    return {
      activeName: "comment"
    };
  },
  methods: {
    handleClick(tab, event) {
    }
  },
  components: {
    All,
    Comment,
    Reviewed,
    Evaluated
  }
};
</script>

<style scoped>
#evaluate {
  width: 1080px;
  min-height: 600px;
  margin-left: auto;
  margin-right: auto;
  /* background-color: antiquewhite; */
}

/* 标题 */
.el-tab-pane {
  float: left;
  width: 100%;
}
.el-tab-pane p {
  float: left;
}
</style>
